<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=<?=isset($locale_char_set) ? $locale_char_set : 'UTF-8'?>"/>
	<meta http-equiv="Pragma" content="no-cache">
	<link rel="icon" href="images/dragon.png" type="image/x-icon">
	<link rel="shortcut icon" href="images/dragon.png" type="image/x-icon">
	<link href="style/<?=$uistyle?>/main.css" rel="stylesheet" type="text/css"/>
	<!--[if IE 6]>
	<style type="text/css" media="screen">
	img {
		behavior: url("./style/pngbehavior.htc");
	}
	</style>
	<![endif]-->
</head>

<body style="background: #a0a0a0 url(/images/login_lorry_bg.jpg) no-repeat center center" onload="document.loginform.username.focus();">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div align="center" width="100%">
<form method="post" action="<?=$loginFromPage?>" name="loginform">
<input type="hidden" name="login" value="<?=time()?>"/>
<input type="hidden" name="redirect" value="<?=$redirect?>"/>
<table border="0" width="250" cellpadding="0" cellspacing="0" class="list">
<tr>
	<th colspan="2" class="last">
		<strong><?=$dPconfig['company_name']?></strong>
	</th>
</tr>
<tr bgcolor="white">
	<td class="internal" style="padding: 8px"><img src="images/LoginManager.png"></td>
	<td class="internal">
		<table cellpadding="0" cellspacing="8" class="internal">
			<tr>
				<td align="right" width="100"><b><?=$AppUI->_('Username')?>:</b></td>
				<td align="left"><input type="text" size="25" maxlength="32" name="username" class="text"/></td>
			</tr>
			<tr>
				<td align="right"><b><?=$AppUI->_('Password')?>:</b></td>
				<td align="left"><input type="password" size="25" maxlength="32" name="password" class="text"/></td>
			</tr>
			<tr>
				<td align="center" colspan="2">
					<input type="submit" name="login" value="<?=$AppUI->_('login')?>" class="button"/>
				</td>
			</tr>
		</table>
	</td>
</tr>
</table>
</form>
</div>

<p align="center"><?php	echo '<span class="error">'.$AppUI->getMsg().'</span>';?></p>
</body>
</html>
